package com.oa.system.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;


import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 审批后操作表
 * </p>
 *
 * @author syb
 * @since 2019-01-29
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_approval_after_handle")
@ApiModel(value = "审批后操作表")
public class ApprovalAfterHandle extends Model<ApprovalAfterHandle> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "审批流程id")
    private String approvalProcessId;

    @ApiModelProperty(value = "操作名称")
    private String handleName;

    @ApiModelProperty(value = "是否本人处理(1-是 2-否)")
    private Integer isSelf;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}